// vue3中创建store实例对象的方法createStore()按需引入
import { createStore } from 'vuex'

export default createStore({
    state: {
        songid: 423997333,
        songnum: 0
    },
    mutations: {
        songID(state,val) {
            state.songid = val.songid;
            state.songnum = val.songnum;
        },
    },
    actions: {
    },
    getters: {
    },
    modules: {
    }
})
